﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="Order" Object="Order" InnerID="Request.QueryString['ID']" />
<ali:Get ID="UserBalance" Mark="User" Object="User.Money" Operation="GetBalance((Guid)Order[UserID])" />
<form name="pay" action="">
	<table class="post-table">
		<tbody>
			<tr>
				<th>预存金额：</th>
				<td><%=Convert.ToDecimal(UserBalance).ToString("N")%></td>
			</tr>
			<tr>
				<th>应付金额：</th>
				<td><%=(Convert.ToDecimal(Order[Sum]) - Convert.ToDecimal(Order[HasPayed])).ToString("N")%></td>
			</tr>
			<tr>
				<th>付款备注：</th>
				<td><textarea name="PayMemo" cols="50" rows="4" wrap="off" class="ali-input"></textarea></td>
			</tr>
		</tbody>
		<tfoot>
			<tr><td colspan="2"><button type="submit" class="ali-button">付款</button></td></tr>
		</tfoot>
	</table>
</form>